#!/bin/bash
# cd /Users/yinzhuo.wang/proj/java_hello/out/production/java_hello
# 运行前先切换到当前文件所在目录
cur_path=$(pwd)
echo "当前目录是${cur_path}"
out_path="${cur_path}/../out/production/java_hello"
echo "${out_path}"
cd "${out_path}"
echo "打包开始"
jar -cef com.jcc.Main demo.jar com
echo "打包结束"